<%@page import="com.kaishengit.entity.Project"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<style type="text/css">
		body{
			margin-top:50px;
		}
	</style>
</head>
<body class="body">

	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="mian.jspx">凯盛项目管理系统</a>
			</div>
		</div>
	</div>
	
	
	<div class="container">
	  <div class="row">
		<div class="span9">
          
          	<div class="page-header" >
          		<h2>项目列表</h2>
          	</div>

          	<a href="new_project.jspx" class="btn btn-success"><i class="icon-plus icon-white"></i>开始一个新项目</a>

	<%
		List<Project> list = (List<Project>)session.getAttribute("mylist");
		for(Project pro : list) { 
		System.out.println(pro.getId());
		System.out.println(pro.getName());
		System.out.println(pro.getDesc());
		
	 %>
		
		    <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="project.jspx?_m=findProjectById&id=<%=pro.getId() %>"><i class="icon-th"></i><%=pro.getName() %></a>
				</li>
			</ul>
			<div class="wall">
				<p><%=pro.getDesc() %></p>
			</div>
	<%} %>
		
		</div>
		<div class="span3">
			
			

		</div>
	  </div>
	</div>

</body></html>